package com.bgrc.hubu12305.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 包名:com.bgrc.hubu12305.entity
 * 用户:86182
 * 时间:20211210:032021/12/11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户角色映射关系")
@TableName("t_role_user_relation")
public class AuthRelationEntity {

    @ApiModelProperty("id")
    @TableId
    private long id;

    @ApiModelProperty("用户id")
    private long userId;

    @ApiModelProperty("角色id")
    private long roleId;
}
